/* ******************************** */
/* Warning! Don't modify this file! */
/* ******************************** */
#include "CH32V103_Sys.h"
#include "TinyObj.h"
#include <stdio.h>
#include <stdlib.h>
#include "BaseObj.h"

void CH32V103_Sys_delayMethod(PikaObj *self, Args *args){
    int ms = args_getInt(args, "ms");
    CH32V103_Sys_delay(self, ms);
}

PikaObj *New_CH32V103_Sys(Args *args){
    PikaObj *self = New_TinyObj(args);
    class_defineMethod(self, "delay(ms:int)", CH32V103_Sys_delayMethod);
    return self;
}

Arg *CH32V103_Sys(PikaObj *self){
    return arg_setMetaObj("", "CH32V103_Sys", New_CH32V103_Sys);
}
